//
//  WXPMineFAQVC.m
//  MexicoLoan
//
//  Created by wxp on 2025/3/21.
//

#import "WXPMineFAQVC.h"

@interface WXPMineFAQVC ()

@end

@implementation WXPMineFAQVC

#pragma mark - viewDidLoad
- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    // 打点
    [GlobalMethod hitPointWithPageName:KEY_FAQ action:KEY_Enter extInfo:nil];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navView resetViewWithTitle:@"FAQ"];
    self.navView.btnService.hidden = false;
}


- (void)loadWebView{
    NSString * html = @"";
    NSString * bundleIdentifier = [GlobalMethod getBundleIdentifier];;
    
#if DEBUG
    html = [NSString stringWithFormat:@"%@/app-loanmarket-h5-faq/#/FAQ?token=%@&packageName=%@",DOMAIN_NAME,[GlobalData sharedInstance].Global_Token,bundleIdentifier];
#else
        html = [NSString stringWithFormat:@"%@/faq/#/FAQ?token=%@&packageName=%@",DOMAIN_NAME,[GlobalData sharedInstance].GB_Key,bundleIdentifier];
#endif
    [self.webView loadRequest:[[NSURLRequest alloc] initWithURL:[NSURL URLWithString:html]]];
}

@end
